Skip to content

feat: get and describe commands (Phase 2 kubectl-style CLI)#69

Merged
robbycochran merged 3 commits into
mainfrom
rc-get-describe
Jun 17, 2026
Merged

feat: get and describe commands (Phase 2 kubectl-style CLI)#69
robbycochran merged 3 commits into
mainfrom
rc-get-describe

Conversation

@robbycochran

Copy link
Copy Markdown
Collaborator

Summary

Phase 2 of the kubectl-style CLI refactor. Adds get and describe commands.

  • harness get agents -- list running sandboxes (aliases: sandboxes, sandbox)
  • harness get providers -- list registered providers
  • harness get gateways -- list gateways (aliases: gateway, gw)
  • harness describe <name> -- detailed status for a specific sandbox
  • -o table|json|yaml on all get subcommands (table is default)
  • Shared OutputFormat type in cmd/output.go
  • Credential values never included in structured output
  • status deprecation message updated to point to get agents
$ harness get gateways -o json
[
  {
    "name": "openshell",
    "endpoint": "https://127.0.0.1:17670",
    "active": true
  }
]

Test plan

  • go build ./... passes
  • go test ./... passes (all packages)
  • go vet ./... passes
  • Local integration --ci: 14/14 passed
  • harness get agents/providers/gateways works with all output formats
  • harness describe <name> shows sandbox details
  • CI workflows green

- harness get agents/providers/gateways with -o table|json|yaml
- harness describe <name> for detailed sandbox status
- Shared OutputFormat type and table/json/yaml formatters
- status command updated to "use 'harness get agents' instead"
… skill

- README: document get agents/providers/gateways with -o flag, describe command
- SPEC: add get command section with resource table, note these wrap openshell
- Validate skill: add Step 9 docs consistency check (verifies all primary
  commands appear in README and SPEC, flags stale command references)
- Removed deprecated status command reference from README
@robbycochran robbycochran merged commit a2bc6b0 into main Jun 17, 2026
5 checks passed
@robbycochran robbycochran deleted the rc-get-describe branch June 17, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant